home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / MessageB.h.z / MessageB.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  4.2 KB  |  135 lines

  1. /*
  2.  * MessageB.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: MessageB.h /main/cde1_maint/2 1995/08/18 19:12:49 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. #ifndef _XmMessage_h
  41. #define _XmMessage_h
  42.  
  43. #include <Xm/Xm.h>
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48.  
  49. /* Class record constants */
  50.  
  51. externalref WidgetClass xmMessageBoxWidgetClass;
  52.  
  53. typedef struct _XmMessageBoxClassRec * XmMessageBoxWidgetClass;
  54. typedef struct _XmMessageBoxRec      * XmMessageBoxWidget;
  55.  
  56. /* fast XtIsSubclass define */
  57. #ifndef XmIsMessageBox
  58. #define XmIsMessageBox(w) XtIsSubclass (w, xmMessageBoxWidgetClass)
  59. #endif 
  60.  
  61.  
  62. /********    Public Function Declarations    ********/
  63. #ifdef _NO_PROTO
  64.  
  65. extern Widget XmCreateMessageBox() ;
  66. extern Widget XmCreateMessageDialog() ;
  67. extern Widget XmCreateErrorDialog() ;
  68. extern Widget XmCreateInformationDialog() ;
  69. extern Widget XmCreateQuestionDialog() ;
  70. extern Widget XmCreateWarningDialog() ;
  71. extern Widget XmCreateWorkingDialog() ;
  72. extern Widget XmCreateTemplateDialog() ;
  73. extern Widget XmMessageBoxGetChild() ;
  74.  
  75. #else
  76.  
  77. extern Widget XmCreateMessageBox( 
  78.                         Widget parent,
  79.                         char *name,
  80.                         ArgList al,
  81.                         Cardinal ac) ;
  82. extern Widget XmCreateMessageDialog( 
  83.                         Widget parent,
  84.                         char *name,
  85.                         ArgList al,
  86.                         Cardinal ac) ;
  87. extern Widget XmCreateErrorDialog( 
  88.                         Widget parent,
  89.                         char *name,
  90.                         ArgList al,
  91.                         Cardinal ac) ;
  92. extern Widget XmCreateInformationDialog( 
  93.                         Widget parent,
  94.                         char *name,
  95.                         ArgList al,
  96.                         Cardinal ac) ;
  97. extern Widget XmCreateQuestionDialog( 
  98.                         Widget parent,
  99.                         char *name,
  100.                         ArgList al,
  101.                         Cardinal ac) ;
  102. extern Widget XmCreateWarningDialog( 
  103.                         Widget parent,
  104.                         char *name,
  105.                         ArgList al,
  106.                         Cardinal ac) ;
  107. extern Widget XmCreateWorkingDialog( 
  108.                         Widget parent,
  109.                         char *name,
  110.                         ArgList al,
  111.                         Cardinal ac) ;
  112. extern Widget XmCreateTemplateDialog( 
  113.                         Widget parent,
  114.                         char *name,
  115.                         ArgList al,
  116.                         Cardinal ac) ;
  117. extern Widget XmMessageBoxGetChild( 
  118.                         Widget widget,
  119. #if NeedWidePrototypes
  120.                         unsigned int child) ;
  121. #else
  122.                         unsigned char child) ;
  123. #endif /* NeedWidePrototypes */
  124.  
  125. #endif /* _NO_PROTO */
  126. /********    End Public Function Declarations    ********/
  127.  
  128.  
  129. #ifdef __cplusplus
  130. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  131. #endif
  132.  
  133. #endif /* _XmMessage_h */
  134. /* DON'T ADD ANYTHING AFTER THIS #endif */
  135.